<%--
  Created by IntelliJ IDEA.
  User: benhailong
  Date: 2019-08-18
  Time: 21:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
</head>
<body>
<h2>商品列表</h2>

<table width="100%" border="1">
    <c:forEach items="${goods}" var="item">
        <tr>
            <td>${item.id}</td>
            <td>${item.name}</td>
            <td>${item.price}</td>
            <td>${item.picture}</td>
        </tr>
    </c:forEach>
</table>

</body>
</html>
